UNA Based Iterative Test Data Generation and Its Evaluation
نویسندگان
چکیده
A number of approaches have been proposed to automatically generate test data to traverse a given path in a program. In this paper, we present a program execution based approach to generate test data for a given path. The technique derives a desired input for a test path by iteratively reening an arbitrarily chosen input. A set of linear constraints on the increments to the input are derived to reene the input. We solve this constraint set using a Uniied Numerical Approach (UNA) developed in this paper. Our technique can generate both integer and oating point inputs as well as handle arrays and loops. We determine a basis set of paths for a program and use our technique to generate test data for this set. We implemented and experimentally evaluated our technique. We present results of generating input for scientiic programs. The experimental results show that the technique is eeective in that it generates input for most of the paths in the basis sets and also eeciently detects linear infeasible paths. Our experiments also show that our technique is eecient in the number of iterations required to generate test data. The time performance shows that it provides a practical method to automatically generate test data for scientiic programs.
منابع مشابه
Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing
Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...
متن کاملA new approach for Modeling and Evaluation of efficiency and power generation in Sterling engine; Analytical study
Although, the Stirling engine (SE) was invented many years ago, the investigation on SE is still interesting due to variety of energy resources can be applied to power it (solar energy, fossil fuel, biomass and geothermal energy). In this paper, the thermodynamic cycle of SE is analyzed by employing a new analytical model and a new method is presented to evaluate output power and efficiency of ...
متن کاملLoss of Load Expectation Assessment in Deregulated Power Systems Using Monte Carlo Simulation and Intelligent Systems
Deregulation policy has caused some changes in the concepts of power systems reliability assessment and enhancement. In this paper, generation reliability is considered, and a method for its assessment using intelligent systems is proposed. Also, because of power market and generators’ forced outages stochastic behavior, Monte Carlo Simulation is used for reliability evaluation. Generation r...
متن کاملHigh order quadrature based iterative method for approximating the solution of nonlinear equations
In this paper, weight function and composition technique is utilized to speeds up the convergence order and increase the efficiency of an existing quadrature based iterative method. This results in the proposition of its improved form from a two-point quadrature based method of convergence order ρ = 3 with efficiency index EI = 1:3161 to a three-point method of convergence order ρ = 8 with EI =...
متن کاملIterative unsupervised adaptation using maximum likelihood linear regression
Maximum likelihood linear regression (MLLR) is a parameter transformation technique for both speaker and environment adaptation. In this paper the iterative use of MLLR is investigated in the context of large vocabulary speaker independent transcription of both noise free and noisy data. It is shown that iterative application of MLLR can be beneficial especially in situations of severe mismatch...
متن کامل